     <!DOCTYPE html>  
<html xmlns="http://www.w3.org/1999/xhtml"  
      xmlns:th="http://www.thymeleaf.org"
     xmlns:sec="http://www.thymeleaf.org/thymeleaf-extras-springsecurity4"">
    <meta name="viewport" content="width=device-width, initial-scale=1.0"/>
    <link rel="stylesheet" href="@{/resources/bootstrap-table-master/assets/bootstrap/css/bootstrap.min.css}"/>
    <link rel="stylesheet" href="@{/resources/bootstrap-table-master/src/bootstrap-table.css}"/>
 <body>       
 	<div class="modal-dialog">
	<div class="modal-content">
    <div class="modal-body">
<form class="form-horizontal" method="post" name="tblTaskEditForm" id="tblTaskEditForm" Func="form">
	<input type="hidden" name="seqid" th:value="${sysFunc.seqid }"/>
		  <div class="form-group">
    		<label for="name">模块名称</label>
    		<input type="text" class="form-control" id="name" name="name"  placeholder="请输入名称" th:value="${sysFunc.name }"/>
  		</div>
  		  <div class="form-group">
    		<label for="name">模块链接</label>
    		<input type="text" class="form-control" id="url" name="url"  placeholder="请输入名称" th:value="${sysFunc.url }"/>
  		</div>
  		  <div class="form-group">
    		<label for="name">上级菜单ID</label>
    		<input type="text" class="form-control" id="preId" name="preId"  placeholder="请输入名称" th:value="${sysFunc.preId }"/>
  		</div>
  		  <div class="form-group">
    		<label for="name">自定义模块ID</label>
    		<input type="text" class="form-control" id="cusId" name="cusId"  placeholder="请输入名称" th:value="${sysFunc.cusId }"/>
  		</div>
  		<div class="form-group">
    		<label for="name">模块级别</label>
    		<input type="text" class="form-control" id="levelF" name="levelF"  placeholder="请输入名称" th:value="${sysFunc.levelF }"/>
  		</div>
		  <input type="button" class="btn btn-default" id="sub" value="提交" />
		  <button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
		  </form>
			</div>
		</div><!-- /.modal-content -->
		</div><!-- /.modal -->

		<script type="text/javascript">
		
		$(document).ready(function() {
				$('#sub').click(function(){
			        $.post('sysFunc_save.json',$('#tblTaskEditForm').serialize(),function(result){
						$('#table').bootstrapTable('refresh');  
					  	$('#myModal').modal('hide');
					});
			});
			
			 $('#myModal').on('hidden.bs.modal', function () {$(this).removeData()});
			});
			</script>
				</body>
	</html>